<?php
	$request_uri = $_SERVER["REQUEST_URI"];
	$pieces = explode("/", $request_uri);
	$aux = count($pieces) - 3;
	$require_string = "";
	for($count = 0; $count < $aux; $count++)
		$require_string .= "../";
	
	require_once($require_string . "control/RedirectAction.php");
	
	$action = new RedirectAction();
	$action->redirect("view/menu.php");
?>